package com.ctshk.rpc.season.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName SeasonFixedProductPackageTrainReq
 * @Description: TODO
 * @Author 杨林
 * @Date 2021/3/9
 **/

@Data
@ApiModel(value="SeasonFixedProductPackageTrainReq对象", description="固定套票火车票产品信息req")
public class SeasonFixedProductPackageTrainReq implements Serializable {
    @ApiModelProperty(value = "产品id")
    private Long productId;

    @ApiModelProperty(value = "打包id")
    private Long packageId;

    @ApiModelProperty(value = "行程类型(depart：出发，return：回程)",required = true)
    @NotNull(message = "火车行程类型不能为空")
    private String tripType;

    @ApiModelProperty(value = "车次",required = true)
    @NotNull(message = "火车车次不能为空")
    private String trainNumber;

    @ApiModelProperty(value = "座位级别(1 硬座，2 软座，3 一等座，4 二等座，5 商务座，6 卧铺)",required = true)
    @NotNull(message = "火车座位级别不能为空")
    private String cabinClass;

    @ApiModelProperty(value = "出发站id",required = true)
    @NotNull(message = "出发站id不能为空")
    private Long depStationId;

    @ApiModelProperty(value = "出发站名称",required = true)
    @NotNull(message = "出发站名称不能为空")
    private String depStationName;

    @ApiModelProperty(value = "终点站id",required = true)
    @NotNull(message = "终点站id不能为空")
    private Long arrStationId;

    @ApiModelProperty(value = "终点站名称",required = true)
    @NotNull(message = "终点站名称不能为空")
    private String arrStationName;

    @ApiModelProperty(value = "出发时间",required = true)
    @NotNull(message = "出发时间不能为空")
    private LocalDateTime depTime;

    @ApiModelProperty(value = "到达时间",required = true)
    @NotNull(message = "到达时间不能为空")
    private LocalDateTime arrTime;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "是否默认")
    private Integer isDefault;

}
